package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.MemberPrivilege;

import java.util.List;

@DBMapper
public interface MemberPrivilegeMapper {
    int deleteByPrimaryKey(Integer pId);

    int insert(MemberPrivilege record);

    int insertSelective(MemberPrivilege record);

    MemberPrivilege selectByPrimaryKey(Integer pId);

    int updateByPrimaryKeySelective(MemberPrivilege record);

    int updateByPrimaryKey(MemberPrivilege record);

    List<MemberPrivilege> selectByCondition(MemberPrivilege record);
}